﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YellowMap
{
    public class GoogleGeocodeAddressRequest
    {
        const string baseUrl = "http://maps.googleapis.com/maps/api/geocode/json?latlng={0},{1}&sensor=true";
        public double Latitude { get; set; }

        public double Longtidue { get; set; }

        public override string ToString()
        {
            string url = String.Format(baseUrl, Latitude, Longtidue);
            return url;
        }
    }
}
